<html>

<head>
<link href="popup.css" rel="stylesheet" type="text/css">
<script src="popup.js"></script>
<style>

</style>
</head>

<body>

<input type="button" value="Click Here!!!" onclick="a.show();"/>
<input type="button" value="form 2!" onclick="b.show();"/>

<input type="button" value="form 3!" onclick="c.show(55,66);"/>
</body>

</html>
<script>
var a=new TrDialog;
a.init({width:400, height:300});
a.setTitle("chao moi nguoi khoe ko");
a.setBody("<div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div><div align=center>chao moi nguoi khoe ko</div>");


var b=new TrDialog;
b.init({width:400, height:300,resize:true});
b.setTitle("form 2");
b.setBody("<div style='padding:8px'><form>Username: <input type=text name=username><br>Password: <input type=password name=password><br><input type=submit value='send'><input type=button value='close' onclick='b.close()'></form></div>");


var c=new TrDialog;
c.init({width:400, height:300});
c.setTitle("form 3");
c.setUrl("test3.htm");

</script>